﻿using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace Com.JunCaiSoft.Common.IDao
{
    public interface IDataCoreAccessObjectAsync
    {
        DbContext dbContext { get; }
        Task<long> TotalCountAsync();
        Task<long> TotalCountAsync<TEntity>() where TEntity : class, new();
        Task<int> ExcuteSQLCommandAsync(String sql, params object[] parameters);
    }
}
